﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace rePose
{
    public partial class ShortcutForm : Form
    {
        public ShortcutForm()
        {
            InitializeComponent();
        }

        public Keys keydata = Keys.None;

        private void ShortcutForm_KeyDown(object sender, KeyEventArgs e)
        {
            lblShortcut.Text = e.KeyData.ToString();
            keydata = e.KeyData;
        }

        private void ShortcutForm_KeyUp(object sender, KeyEventArgs e)
        {
            Close();
        }
    }
}
